﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.ResultSet;

namespace AAA.Writer
{
    public interface IWriter
    {
        string SourceFile { get; set; }
        string TargetFile { get; set; }
        bool IsAppend { get; set; }
        string ErrorMessage { get; set; }
        void Value(string strKey, object oValue);
        object Value(string strKey);

        bool Write(IResultSet resultSet, object oFormat);
        bool Write(Dictionary<string, CellValue> dicValue, object oFormat);

    }
}
